package com.youlai.system.converter;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.system.model.entity.Salary;
import com.youlai.system.model.form.SalaryForm;
import com.youlai.system.model.vo.SalaryVO;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface SalaryConverter {
    Page<SalaryVO> entity2Page(Page<Salary> SalaryPage);

    Salary form2Entity(SalaryForm SalaryForm);

    SalaryForm entity2Form(Salary entity);

}
